﻿@model Manager.Model.Admin.M_Stylist
@using Webdiyer.WebControls.Mvc;
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="220" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="xx-nr"><img src="@Model.StylistImage" width="200" height="200" /></td>
      </tr>
      <tr>
        <td class="xx-nr3">@Model.StylistName</td>
      </tr>
      <tr>
        <td class="xx-nr4">所属店面：<a href="/Shop/Home/@Model.StylistShopID" target="_blank">@Web.Helpers.FrontHelper.GetShopByStylist(Model.StylistShopID.Value).ShopName</a> <br />联系方式：@Model.StylistTel</td>
      </tr>
    </table></td>
    <td width="10"></td>
    <td valign="top" bgcolor="#FFFFFF" class="sp8"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
           <tr>
            <td class="xx-nr2">个人简介</td>
          </tr>
          <tr>
            <td align="left">@Html.Raw(Model.StylistDesc)</td>
          </tr>
          <tr>
            <td class="xx-nr2">全部动态</td>
          </tr>
          <tr>
            <td >
            
            @foreach (Manager.Model.Admin.M_Opus opus in ViewBag.OpusList)
            {
                <!--循环-->
            
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="sp11">
  <tr>
    <td class="sp13"><a href="#" target="_blank"><img src="@Model.StylistImage" width="28" height="28" /></a> <b><a href="/Stylist/Index/@Model.StylistID" target="_blank">@Model.StylistName</a></b> </td>
  </tr>
  <tr>
    <td class="sp12"><img src="@opus.OpusImage" width="650" height="204" /></td>
  </tr>
  <tr>
    <td class="sp13">@Html.FormatHtmlStr(Html.Raw(opus.OpusDesc).ToString(), 250)<a href="/Stylist/Details/@opus.OpusID" target="_blank">【查看全部】</a></td>
  </tr>
</table>
  <!--循环结束-->
            }
@Html.Pager(ViewBag.OpusList as PagedList<Manager.Model.Admin.M_Opus>, new PagerOptions { PageIndexParameterName = "page" })
            
            

